package com.pclong.mydbutil.dispacher.config;

import java.util.ResourceBundle;

public abstract class GlobalConfig {
	private static ResourceBundle bundle = ResourceBundle
			.getBundle(Constants.CONFIG_PROP_NAME);

	public static String getProperty(String name) {
		return bundle.getString(name);
	}

	public static String[] getUrlSuffix() {
		String urls = getProperty(Constants.URL_SUFFIX);
		return urls.split(",");
	}
}
